package com.ruizhong.integratedmediawithoutc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruizhong.integratedmediawithoutc.dao.TPlanMapper;
import com.ruizhong.integratedmediawithoutc.entity.TPlan;
import com.ruizhong.integratedmediawithoutc.service.TPlanService;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class TPlanServiceImpl extends ServiceImpl<TPlanMapper, TPlan> implements TPlanService {
    @Override
    public void addPlan(Map<String, Object> dataMap) {
        TPlan tPlan = new TPlan();
        tPlan.setFreq((Integer) dataMap.get("freq"));
        System.out.println(dataMap);
    }
}
